// --------------------------------------------------
// 链接
// @Author: steven.wjx
// @Date:   2020-03-05 13:17:50
// --------------------------------------------------
a {
	color: #1890ff;
	text-decoration: none;
	transition: all 0.6s ease;

	@include hover-focus {
		color: #40a9ff;
	}

	&:after {
		display: none;
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		height: 0;
		bottom: 0;
		border-bottom: 1px solid #40a9ff;
	}
}

.#{$ui-name}link-reset {
	color: inherit;
	display: inline;
	vertical-align: baseline;

	@include hover-focus {
		color: inherit;
	}
}

.#{$ui-name}link-primary {
	color: $primary-color;

	@include hover-focus {
		color: darken($primary-color, 20%);
	}

	&:after {
		border-bottom: 1px solid $primary-color;
	}
}

.#{$ui-name}link-info {
	color: $info-color;

	@include hover-focus {
		color: darken($info-color, 20%);
	}

	&:after {
		border-bottom: 1px solid $info-color;
	}
}


.#{$ui-name}link-success {
	color: $success-color;

	@include hover-focus {
		color: darken($success-color, 20%);
	}

	&:after {
		border-bottom: 1px solid $success-color;
	}
}


.#{$ui-name}link-warning {
	color: $warning-color;

	@include hover-focus {
		color: darken($warning-color, 20%);
	}

	&:after {
		border-bottom: 1px solid $warning-color;
	}
}


.#{$ui-name}link-danger {
	color: $danger-color;

	@include hover-focus {
		color: darken($danger-color, 20%);
	}

	&:after {
		border-bottom: 1px solid $danger-color;
	}
}

.#{$ui-name}link-underline {
	position: relative;

	@include hover-focus {
		&:after {
			display: inherit;
		}
	}
}

.#{$ui-name}link-disabled {
	@include opacity(0.5);
	cursor: not-allowed;
}